package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "商品SPU分页查询参数")
public class SpuPageDTO extends CommonPage{
    @Schema(description = "SPU标题")
    private String title;
    @Schema(description = "商品分类ID")
    private Integer categoryId;
    @Schema(description = "商品品牌ID")
    private Integer brandId;
    @Schema(description = "上架状态，0：下架，1：上架")
    private Integer saleable; // -1 表示不限
}
